﻿namespace Digitalmes.Scada.Strategies;

/// <summary>
/// 存档数据构建策略，处理一些特殊数据。
/// </summary>
public interface IArchiveDataBuildStrategy
{
    /// <summary>
    /// 构建值
    /// </summary>
    /// <param name="opCode">工位编号</param>
    /// <param name="procCode">工序编号</param>
    /// <param name="procTypeCode">工艺类型代码</param>
    /// <param name="data">数据，目前数据存档是全部转换为 string 类型</param>
    /// <returns></returns>
    string BuildValue(string opCode, string procCode, string? procTypeCode, string data);
}
